package com.zrwl.poscloud.base.constants;

/**
 * @author liuxiaolong
 * @date 2022/7/23
 * @description
 */
public class GradeTeacherConstants {
    /***
     * status 状态(1:正常,2:过期)
     */
    public static final int deleted = 0;
    public static final int enable = 1;//正常
    public static final int freeze = 2;//过期
    /***
     * subject_type 教师类型: 0:班主任,1-n自定义字典
     */
    public static final int subjectType_grade_teacher = 0;//班主任
    /***
     * leave_inform leave_check task_publish  0:未开启,1:已开启
     */
    public static final int notOpen = 0;//未开启
    public static final int open = 1;//已开启

    public static String getSubjectTypeName(int type) {
        switch (type) {
            case subjectType_grade_teacher:
                return "班主任";
            default:
                return "其他";
        }
    }

}
